getLong

fun getLong(key: String, defaultVal: Long): Long

Get the long value associated with the given key. If there is no long value associated with the key, return the defaultVal.